<template>
  <div class="index">
    <el-container class="container">
      <el-aside width="200px" class="aside">
        <el-menu
          :default-active="$route.path"
          class="el-menu-vertical-demo"
          active-text-color="rgb(8, 240, 232)"
          router
        >
          <el-menu-item index="/index/business">
            <i class="el-icon-document"></i>
            <span slot="title">出差申请</span>
          </el-menu-item>
          <el-menu-item index="/index/outside">
            <i class="el-icon-document"></i>
            <span slot="title">外勤打卡</span>
          </el-menu-item>
          <el-menu-item index="/index/leave">
            <i class="el-icon-menu"></i>
            <span slot="title">请假申请</span>
          </el-menu-item>
          <el-menu-item index="/index/work">
            <i class="el-icon-setting"></i>
            <span slot="title">加班申请</span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss">
.index{
   height: 100%;
   .kao{
     margin-left: 50px;
     .el-icon-upload{
      color: orange;
      font-size: 25px;
      margin-right: 15px;
     }
   }
     height: 100%;
   .aside{
      height: 100%;
      border-right:1px solid #ccc;
      overflow: hidden;
      .el-menu-vertical-demo{
        background: rgb(222, 236, 250);
        height: 100%;
        
      }
   }
}

</style>
